package org.hive.events
{
	import flash.events.Event;
	import org.hive.media.VideoSWF;

	public class VideoManagerEvent extends Event
	{
		public static var ON_VIDEO_SWITCHED:String = "onVideoSwitched";
		public static var ON_VIDEO_LABEL:String = "onVideoLabel";
		public static var ON_VIDEO_PAUSED:String = "onVideoPaused";
		public static var ON_VIDEO_RESUMED:String = "onVideoResumed";
		public static var ON_VIDEO_BUFFERING:String = "onVideoBuffering";
		public static var ON_VIDEO_BUFFER_DONE:String = "onVideoBufferDone";
		public static var ON_VIDEO_PROGRESS:String = "onVideoProgress";
		public var video : VideoSWF;
		public var name : String;
		public var previousVideo : VideoSWF;
		public var state : String;
		public var progress : Number;
		
		public function VideoManagerEvent(type:String, vSWF:*, vName:String, previousVSWF:VideoSWF=null, estate:String=null, progressNum:Number=0.0, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			video = vSWF;
			name = vName;
			previousVideo = previousVSWF;
			state = estate;
			progress = progressNum;
		}
		
	}
}